package snake;

import model.User;

public class Player extends User
{
	public enum PlayerStatus
	{
		DEAD, ALIVE
	}

	public enum PlayerType
	{
		USER, GUEST
	}

	public enum Direction
	{
		NORTH, EAST, SOUTH, WEST
	}

	private int score=0;
	private PlayerStatus playerStatus = PlayerStatus.ALIVE;
	private PlayerType playerType = PlayerType.USER;
	private Direction direction = Direction.SOUTH;
	private Snake snake = new Snake();
	

	public Direction getDirection()
	{
		return direction;
	}

	public void setDirection(Direction direction)
	{
		this.direction = direction;
	}

	public PlayerType getPlayerType()
	{
		return playerType;
	}

	public void setPlayerType(PlayerType playerType)
	{
		this.playerType = playerType;
	}

	public int getScore()
	{
		return score;
	}

	public void setScore(int score)
	{
		this.score = score;
	}

	public PlayerStatus getPlayerStatus()
	{
		return playerStatus;
	}

	public void setPlayerStatus(PlayerStatus playerStatus)
	{
		this.playerStatus = playerStatus;
	}

	public Snake getSnake()
	{
		return snake;
	}

}
